package com.atguigu.edu.client;

import com.atguigu.utils.R;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class VodClientHystrixService implements VodClientService{
    @Override
    public R deleteVideo(String id) {
        return R.error().message("删除失败出错了");
    }

    @Override
    public R deleteBatchVideo(List<String> videoIds) {
        return R.error().message("删除多个视频出错了");
    }
}
